boot: Activate ostree-finalize-staged even earlier
authorJonathan Lebon <jonathan@jlebon.com>
Fri, 12 Apr 2019 17:49:08 +0000 (13:49 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 15 Apr 2019 00:11:00 +0000 (00:11 +0000)
commita8754ae3708431d72be63723a6362a4edc82df84
tree76806d2d759d24904b0dd1e5541f0c73253e3022
parent89c00e7eb72ddc5aaee3469f281fb5560ff7bd5d
boot: Activate ostree-finalize-staged even earlier

Really, all `ostree admin finalize-staged` needs is access to `/sysroot`
and `/boot`. So let's activate it right after `local-fs.target` so that
it gets deactivated later in the shutdown process. This should allow us
to conflict with less services still running and possibly writing things
to `/etc`.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1672283

Closes: #1840
Approved by: cgwalters
src/boot/ostree-finalize-staged.service